import java.awt.event.WindowStateListener;

public class Dog {
    String name;
    double age,weight;
    public String say() {
        String ins = "这条狗的名字是" + name + ",今年" + age + "岁" + ",体重是" + weight;
        return ins;
    }
}
